﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VIPAgentExchangeUpdateReceipt.aspx.cs" Inherits="IHISCETeim.Web.AgentSys.VipMgr.VIPAgentExchangeUpdateReceipt" %>

<form id="Form1" runat="server" action='VipMgr/VIPAgentExchangeUpdateReceipt.aspx?ajaxmethod=edit' class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone);">
    <div class="pageContent">
        <div class="pageFormContent" layoutH="56">            
            <h2 style=" padding:0px 0px 5px 6px; border-bottom:1px solid #B8D0D6;clear:both;">1.收货信息</h2>
                 <input  type="hidden" name="AgentExID" value="<%=AgentExID%>" />   
               <p>
				        <label>收货时间：</label>
				        <input name="ReceiptDate" type="text" class="date required"  value="<%=DateTime.Now.ToString("yyyy-MM-dd") %>" />
			      </p>   
               <div class="divider"></div>          
                <p>
				    <label>姓名：</label>
				    <input name="" type="text" class="" readonly  value="<%=objEx.RealName %>" />
			    </p>                
                <p>
				    <label>联系方式：</label>
				    <input name="" type="text" class=""  readonly value="<%=objEx.Tel %>" />
			    </p>
                <p>
				    <label>地址：</label>
				    <input name="" type="text" class=""  readonly value="<%=objEx.Address %>" />
			    </p>
             <div class="divider"></div>
              <p>
				        <label>物流名称：</label>
				        <input name="" type="text" class=" " readonly value="<%=objEx.ExpressName %>" />
			      </p>
                  <p>
				        <label>物流单号：</label>
				        <input name="" type="text" class=" " readonly value="<%=objEx.ExpressDocNum %>" />
			      </p>
                      <p>
				        <label>发货时间：</label>
				        <input name="" type="text" class=""  value="<%=objEx.ShippedDate.ToString("yyyy-MM-dd") %>" />
			      </p>
             <h2 style=" padding:0px 0px 5px 6px; border-bottom:1px solid #B8D0D6;clear:both;">2.兑换信息</h2>
                   <p>
				        <label>订单号：</label>
				        <input  type="text" class="required" readonly  value="<%=objEx.DocNum %>" />
			      </p>
                  <p>
				        <label>兑换日期：</label>
				        <input  type="text" class=" " readonly value="<%=objEx.ExChangeDate.ToString("yyyy-MM-dd") %>" />
			      </p>

             <div class="divider"></div>
                    <p>
				        <label>备注：</label>
				        <input name="Remark" type="text" class=""  value="<%=objEx.Remark %>" />
			      </p>
              
             <div  style=" clear:both;">
                        <table  class="list" width="100%" layouth="90" >
                        <thead>
                            <tr>                
                                <th width="100" >物料号</th>
                                <th>名称</th>                
                                <th width="100">单价</th> 
                                <th width="120">数量</th>                               
                                <th>小计</th>
                                <th>积分</th> 
                                      
                            </tr>
                         </thead>
                         <tbody>
                             <asp:repeater id="rpDetail" runat="server">
                                <ItemTemplate>
                                 <tr >
				                    <td><%# Eval("ItemCode") %></td>
				                    <td><%# Eval("ItemName") %></td>
				                    <td><%# Eval("Price") %></td>
                                    <td><%# Eval("Quantity") %></td>
                                    <td><%# Eval("LineTotal") %></td>
                                    <td><%# Eval("LinePoint") %></td>
			                    </tr>
                                 </ItemTemplate>
                            </asp:repeater>
                         </tbody>
                         <tfoot>
                             <tr>
                                <td colspan="4" style="text-align:right;">
                                总计:
                                </td>
                                <td  >
                                    <input type="text" name="" size="10" readonly value="<%=objEx.TotalMoney %>" />     
                                                               
                                </td>
                                <td colspan="2">
                                    <input type="text"  name="" size="10" readonly value="<%=objEx.TotalPoint %>" />
                                </td>                        
                            </tr>
                         </tfoot>
                         </table>
                  
                
            </div>
        
        </div>

        <div class="formBar">

            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">确定收货</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button></div>
                    </div>
                </li>
            </ul>
        </div>
    </div>


</form>
